// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.common.mybatis.handlers.SysFileListTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * TmpJmOrderChildren
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "tmp_jm_order_children", autoResultMap = true)
@Schema(title = "独立站订单子表临时表")
public class TmpJmOrderChildren implements Serializable {

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 规格id
   */
  @TableField(value = "`specifications_id`")
  @Schema(title = "规格id")
  private Long specificationsId;

  /**
   * 规格信息
   */
  @TableField(value = "`spec_info`")
  @Schema(title = "规格信息")
  private String specInfo;

  /**
   * 方案id
   */
  @TableField(value = "`scheme_id`")
  @Schema(title = "方案id")
  private Long schemeId;

  /**
   * 数量
   */
  @TableField(value = "`quantity`")
  @Schema(title = "数量")
  private Integer quantity;

  /**
   * 保护计划id
   */
  @TableField(value = "`protection_id`")
  @Schema(title = "保护计划id")
  private Long protectionId;

  /**
   * 单价
   */
  @TableField(value = "`price`")
  @Schema(title = "单价")
  private java.math.BigDecimal price;

  /**
   * 支付金额
   */
  @TableField(value = "`payment_price`")
  @Schema(title = "支付金额")
  private java.math.BigDecimal paymentPrice;

  /**
   * 原价
   */
  @TableField(value = "`origin_price`")
  @Schema(title = "原价")
  private java.math.BigDecimal originPrice;

  /**
   * 订单id
   */
  @TableField(value = "`order_id`")
  @Schema(title = "订单id")
  private Long orderId;

  /**
   * 名称
   */
  @TableField(value = "`name`")
  @Schema(title = "名称")
  private String name;

  /**
   * 物流单号
   */
  @TableField(value = "`logistics_no`")
  @Schema(title = "物流单号")
  private String logisticsNo;

  /**
   * 物流id
   */
  @TableField(value = "`logistics_id`")
  @Schema(title = "物流id")
  private Long logisticsId;

  /**
   * 物流公司
   */
  @TableField(value = "`logistics_company`")
  @Schema(title = "物流公司")
  private Long logisticsCompany;

  /**
   * 留言
   */
  @TableField(value = "`leave_message`")
  @Schema(title = "留言")
  private String leaveMessage;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 副戒id
   */
  @TableField(value = "`accessory_ring_id`")
  @Schema(title = "副戒id")
  private Long accessoryRingId;

  /**
   * 是否刻字
   */
  @TableField(value = "`is_font`")
  @Schema(title = "是否刻字")
  private String isFont;

  /**
   * 免费信息
   */
  @TableField(value = "`info_text`")
  @Schema(title = "免费信息")
  private String infoText;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 雕刻文字
   */
  @TableField(value = "`grave_font`")
  @Schema(title = "雕刻文字")
  private String graveFont;

  /**
   * 商品id
   */
  @TableField(value = "`goods_id`")
  @Schema(title = "商品id")
  private Long goodsId;

  /**
   * 商品sku
   */
  @TableField(value = "`goods_code`")
  @Schema(title = "商品sku")
  private String goodsCode;

  /**
   * 礼品包装id
   */
  @TableField(value = "`gift_id`")
  @Schema(title = "礼品包装id")
  private Long giftId;

  /**
   * 字体id
   */
  @TableField(value = "`font_id`")
  @Schema(title = "字体id")
  private Long fontId;

  /**
   * 附件
   */
  @TableField(value = "`files`", typeHandler = SysFileListTypeHandler.class)
  @Schema(title = "附件")
  private List<SysFile> files;

  /**
   * 描述
   */
  @TableField(value = "`description`")
  @Schema(title = "描述")
  private String description;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 币种
   */
  @TableField(value = "`currency_exchange_rate_id`")
  @Schema(title = "币种")
  private Long currencyExchangeRateId;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;
}
